package com.study.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author MI
 * @version 1.0
 * @date 2020/10/18 17:30
 */
@RestController
@RequestMapping("/order")
@Slf4j
public class OrderControler3 {


    //测试高并发
    @GetMapping("message")
    public String msg() {
        return "测试高并发";
    }

    @GetMapping("message1")
    public String msg1(String serviceName) {
        return "测试高并发" + serviceName;
    }

    @GetMapping("message2")
    public String msg2() {
        return "测试高并发2";
    }
}
